Allocates and fills a buffer with text from the start of the document. @param sci Scintilla widget. @param buffer_len Buffer length to allocate, including the terminating null char, e.g. sci_get_length() + 1. Alternatively use @c -1 to get all text (since Geany 1.23). @return A copy of the text. Should be freed when no longer needed.
Gets the cursor position. * @param sci Scintilla widget. * @return Position.
Gets the length of all text. * @param sci Scintilla widget. * @return Length.